const CinemaListReducer = (oldState={list:[]}, action) =>{
    let newState = {...oldState};
    switch (action.type){
        case "change-cinemaList":
            newState.list = action.list
            return newState
        default:
            return oldState;
    }
}

export default CinemaListReducer;